package com.tl.web.controller.api;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tl.app.domain.AppTag;
import com.tl.app.service.IAppTagService;
import com.tl.common.core.controller.BaseController;
import com.tl.common.core.domain.AjaxResult;


@RestController
@RequestMapping("/api/tag")
public class ApiTagController extends BaseController{
	
	
	@Autowired
	private IAppTagService appTagService;

	
    /**
     * 查询标签列表
     */
    @GetMapping("/list")
    public AjaxResult list(AppTag appTag){
        List<AppTag> list = appTagService.selectAppTagList(appTag);
        return AjaxResult.success(list);
    }
	    

}
